//
//  ZNWBStatusToolBar.swift
//  ZNWeibo
//
//  Created by FunctionMaker on 2017/8/23.
//  Copyright © 2017年 FunctionMaker. All rights reserved.
//

import UIKit

class ZNWBStatusToolBar: UIView {
    var viewModel: ZNWBStatusViewModel? {
        didSet {
            retweetedButton.setTitle(viewModel?.retweetedStr, for: .normal)
            commentButton.setTitle(viewModel?.commentStr, for: .normal)
            likeButton.setTitle(viewModel?.likeStr, for: .normal)
        }
    }
    
    /// 转发按钮
    @IBOutlet weak var retweetedButton: UIButton!
    /// 评论按钮
    @IBOutlet weak var commentButton: UIButton!
    /// 点赞按钮
    @IBOutlet weak var likeButton: UIButton!
}
